﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace HRM.DAL.DAO
{
    public class Evaluation
    {
        public int Id { get; set; }

        [DisplayName("Employee ID")]
        [Required(ErrorMessage = "Please write an Employee Code")]
        public int EmployeeId { get; set; }

        [DisplayName("Project Manager")]
        [Required(ErrorMessage = "Please Select a Project Manager")]
        public int ProjectManagerID { get; set; }
        public ProjectManager ProjectManager { get; set; }

        public DateTime Date { get; set; }

        [DisplayName("Technical Skill")]
        [Required(ErrorMessage = "Please  Select Technical Skill Level")]
        public string TechnicalSkill { get; set; }

        [DisplayName("Communication")]
        [Required(ErrorMessage = "Please  Select Communication Level")]
        public string Communication { get; set; }

        [DisplayName("Punctuality")]
        [Required(ErrorMessage = "Please  Select Punctuality Level")]
        public string Punctuality { get; set; }

        [Required(ErrorMessage = "Please  write Comments ")]
        public string Comments { get; set; }

    }
}